JavaScript

buttonList.removeButtons Method

Syntax

buttonListObj.removeButtons(value);

Arguments

valuestring

The 'value' of the button to remove.

Description

Removes a button from a Button List Control.

Example

var buttonListObj = {dialog.object}.getControl('BUTTONLIST_1');

if (buttonListObj) {
    //remove the button that has a value of 'b3'
    buttonListObj.removeButtons('b3');
}